﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012AB RID: 4779
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwordTrainingResumeGameScRsp : IMessage<SwordTrainingResumeGameScRsp>, IMessage, IEquatable<SwordTrainingResumeGameScRsp>, IDeepCloneable<SwordTrainingResumeGameScRsp>, IBufferMessage
	{
		// Token: 0x17003C7C RID: 15484
		// (get) Token: 0x0600D635 RID: 54837 RVA: 0x0023F971 File Offset: 0x0023DB71
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwordTrainingResumeGameScRsp> Parser
		{
			get
			{
				return SwordTrainingResumeGameScRsp._parser;
			}
		}

		// Token: 0x17003C7D RID: 15485
		// (get) Token: 0x0600D636 RID: 54838 RVA: 0x0023F978 File Offset: 0x0023DB78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwordTrainingResumeGameScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003C7E RID: 15486
		// (get) Token: 0x0600D637 RID: 54839 RVA: 0x0023F98A File Offset: 0x0023DB8A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwordTrainingResumeGameScRsp.Descriptor;
			}
		}

		// Token: 0x0600D638 RID: 54840 RVA: 0x0023F991 File Offset: 0x0023DB91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingResumeGameScRsp()
		{
		}

		// Token: 0x0600D639 RID: 54841 RVA: 0x0023F99C File Offset: 0x0023DB9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingResumeGameScRsp(SwordTrainingResumeGameScRsp other) : this()
		{
			this.iDJGHDKAOOD_ = ((other.iDJGHDKAOOD_ != null) ? other.iDJGHDKAOOD_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D63A RID: 54842 RVA: 0x0023F9E8 File Offset: 0x0023DBE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingResumeGameScRsp Clone()
		{
			return new SwordTrainingResumeGameScRsp(this);
		}

		// Token: 0x17003C7F RID: 15487
		// (get) Token: 0x0600D63B RID: 54843 RVA: 0x0023F9F0 File Offset: 0x0023DBF0
		// (set) Token: 0x0600D63C RID: 54844 RVA: 0x0023F9F8 File Offset: 0x0023DBF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EPEDODHJOJF IDJGHDKAOOD
		{
			get
			{
				return this.iDJGHDKAOOD_;
			}
			set
			{
				this.iDJGHDKAOOD_ = value;
			}
		}

		// Token: 0x17003C80 RID: 15488
		// (get) Token: 0x0600D63D RID: 54845 RVA: 0x0023FA01 File Offset: 0x0023DC01
		// (set) Token: 0x0600D63E RID: 54846 RVA: 0x0023FA09 File Offset: 0x0023DC09
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600D63F RID: 54847 RVA: 0x0023FA12 File Offset: 0x0023DC12
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwordTrainingResumeGameScRsp);
		}

		// Token: 0x0600D640 RID: 54848 RVA: 0x0023FA20 File Offset: 0x0023DC20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwordTrainingResumeGameScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.IDJGHDKAOOD, other.IDJGHDKAOOD) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D641 RID: 54849 RVA: 0x0023FA70 File Offset: 0x0023DC70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.iDJGHDKAOOD_ != null)
			{
				num ^= this.IDJGHDKAOOD.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D642 RID: 54850 RVA: 0x0023FAC5 File Offset: 0x0023DCC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D643 RID: 54851 RVA: 0x0023FACD File Offset: 0x0023DCCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D644 RID: 54852 RVA: 0x0023FAD8 File Offset: 0x0023DCD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Retcode);
			}
			if (this.iDJGHDKAOOD_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.IDJGHDKAOOD);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D645 RID: 54853 RVA: 0x0023FB34 File Offset: 0x0023DD34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.iDJGHDKAOOD_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.IDJGHDKAOOD);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D646 RID: 54854 RVA: 0x0023FB8C File Offset: 0x0023DD8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwordTrainingResumeGameScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.iDJGHDKAOOD_ != null)
			{
				if (this.iDJGHDKAOOD_ == null)
				{
					this.IDJGHDKAOOD = new EPEDODHJOJF();
				}
				this.IDJGHDKAOOD.MergeFrom(other.IDJGHDKAOOD);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D647 RID: 54855 RVA: 0x0023FBF4 File Offset: 0x0023DDF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D648 RID: 54856 RVA: 0x0023FC00 File Offset: 0x0023DE00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 74U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.iDJGHDKAOOD_ == null)
						{
							this.IDJGHDKAOOD = new EPEDODHJOJF();
						}
						input.ReadMessage(this.IDJGHDKAOOD);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005588 RID: 21896
		private static readonly MessageParser<SwordTrainingResumeGameScRsp> _parser = new MessageParser<SwordTrainingResumeGameScRsp>(() => new SwordTrainingResumeGameScRsp());

		// Token: 0x04005589 RID: 21897
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400558A RID: 21898
		public const int IDJGHDKAOODFieldNumber = 9;

		// Token: 0x0400558B RID: 21899
		private EPEDODHJOJF iDJGHDKAOOD_;

		// Token: 0x0400558C RID: 21900
		public const int RetcodeFieldNumber = 3;

		// Token: 0x0400558D RID: 21901
		private uint retcode_;
	}
}
